package HelloWorld02;
import java.util.*;
/**
 * Enjoy programming!!!
 * 时间： 2021/10/6 -  9:30
 */
public class ShuRu {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        System.out.print("What`s your name?");
        String name = in.nextLine();

        System.out.print("How old are you?");
        int age = in.nextInt();

        System.out.println("Hello," +name +". Next year, you`ll be " +(age + 1) +'.');
        System.out.printf("Hello,%s. Next year, you`ll be %d .\n",name,age + 1);
    }
}